package org.example.exp2.exam7.dcheck;

import java.util.ArrayList;
import java.util.List;

public class VUGenerator {
    private volatile static VUGenerator instance = null;

    private VUGenerator(){}

    public static VUGenerator getInstance(){
        if(instance == null){
            synchronized (VUGenerator.class){
                if(instance == null){
                    instance = new VUGenerator();
                }
            }
        }
        return instance;
    }

    public List generatorVirtualUsers(){
        System.out.println("生成虚拟用户！");
        return new ArrayList();
    }
}
